package net.togogo.web.mapper;

import net.togogo.web.entity.ProOrder;
import net.togogo.web.entity.ProOrderExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProOrderMapper {
    long countByExample(ProOrderExample example);

    int deleteByExample(ProOrderExample example);

    int insert(ProOrder record);

    int insertSelective(ProOrder record);

    List<ProOrder> selectByExample(ProOrderExample example);

    int updateByExampleSelective(@Param("record") ProOrder record, @Param("example") ProOrderExample example);

    int updateByExample(@Param("record") ProOrder record, @Param("example") ProOrderExample example);
}